package com.java46.front.user.service;

import com.java46.admin.user.entity.UsersEntity;
import com.java46.front.user.dao.UserDao;

public class UserService {
    UserDao userDao = new UserDao();
    //添加用户
    public void addUser(String openId){
        userDao.addUser(openId);
    }
    //查询是否有用户
    public UsersEntity queryUser(String openId) {
        return  userDao.queryUser(openId);
    }
}
